package com.jiutong.meipengdai.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by suxi on 2017/6/3.
 */

public class HouseListRespond extends BaseRespond {

    /**
     * data : {"houseLoans":[{"id":"840","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"东海小区","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"孟昊然","cardNumber":"150000198504271891","houseRatio":"100.00","houseCard":"招好商1","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"},{"id":"841","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"东海小区","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"乐俊茂","cardNumber":"530000198508264235","houseRatio":"50.00","houseCard":"招好商2","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"},{"id":"842","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"东海小区","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"金芳蔼","cardNumber":"530000197504204345","houseRatio":"50.00","houseCard":"招好商3","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"},{"id":"844","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"东海小区","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"乐俊茂","cardNumber":"530000198508264235","houseRatio":"50.00","houseCard":"招好商5","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"},{"id":"845","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"60","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"金芳蔼","cardNumber":"530000197504204345","houseRatio":"50.00","houseCard":"招好商","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"},{"id":"846","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"60","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"孟昊然","cardNumber":"150000198504271891","houseRatio":"100.00","houseCard":"招好商5","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"},{"id":"847","houseProvince":"广东省","houseCity":"深圳市","houseArea":"福田区","houseStreet":"深南大道","residentialArea":"60","mortgageStatus":"1","startDate":"2017-06-28","endDate":"2017-06-28","realName":"乐俊茂","cardNumber":"530000198508264235","houseRatio":"50.00","houseCard":"招好商6","totalFloor":"3","buildingNumber":"111","roomNumber":"401","landNo":"landNo","landSize":"0.00","innerBuildingArea":"0.00","houseType":"1","houseStatus":"1","isOnlyHave":"0","houseSize":"100.00","hosueAge":"20","fainalAssAmount":"5000000.0"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<HouseLoansBean> houseLoans;

        public List<HouseLoansBean> getHouseLoans() {
            return houseLoans;
        }

        public void setHouseLoans(List<HouseLoansBean> houseLoans) {
            this.houseLoans = houseLoans;
        }

        public static class HouseLoansBean implements Parcelable {
            /**
             * id : 840
             * houseProvince : 广东省
             * houseCity : 深圳市
             * houseArea : 福田区
             * houseStreet : 深南大道
             * residentialArea : 东海小区
             * mortgageStatus : 1
             * startDate : 2017-06-28
             * endDate : 2017-06-28
             * realName : 孟昊然
             * cardNumber : 150000198504271891
             * houseRatio : 100.00
             * houseCard : 招好商1
             * totalFloor : 3
             * buildingNumber : 111
             * roomNumber : 401
             * landNo : landNo
             * landSize : 0.00
             * innerBuildingArea : 0.00
             * houseType : 1
             * houseStatus : 1
             * isOnlyHave : 0
             * houseSize : 100.00
             * hosueAge : 20
             * fainalAssAmount : 5000000.0
             */

            private String id;
            private String houseProvince;
            private String houseCity;
            private String houseArea;
            private String houseStreet;
            private String residentialArea;
            private String mortgageStatus;
            private String startDate;
            private String endDate;
            private String realName;
            private String cardNumber;
            private String houseRatio;
            private String houseCard;
            private String totalFloor;
            private String buildingNumber;
            private String roomNumber;
            private String landNo;
            private String landSize;
            private String innerBuildingArea;
            private String houseType;
            private String houseStatus;
            private String isOnlyHave;
            private String houseSize;
            private String hosueAge;
            private String fainalAssAmount;
            private String percentage;
            private String rate;
            private String houseTypeDesc;
            private String houseStatusDesc;
            private String houseStateDesc;

            public String getHouseTypeDesc() {
                return houseTypeDesc;
            }

            public void setHouseTypeDesc(String houseTypeDesc) {
                this.houseTypeDesc = houseTypeDesc;
            }

            public String getHouseStateDesc() {
                return houseStateDesc;
            }

            public void setHouseStateDesc(String houseStateDesc) {
                this.houseStateDesc = houseStateDesc;
            }

            public String getHouseStatusDesc() {
                return houseStatusDesc;
            }

            public void setHouseStatusDesc(String houseStatusDesc) {
                this.houseStatusDesc = houseStatusDesc;
            }

            public String getPercentage() {
                return percentage;
            }

            public void setPercentage(String percentage) {
                this.percentage = percentage;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getHouseProvince() {
                return houseProvince;
            }

            public void setHouseProvince(String houseProvince) {
                this.houseProvince = houseProvince;
            }

            public String getHouseCity() {
                return houseCity;
            }

            public void setHouseCity(String houseCity) {
                this.houseCity = houseCity;
            }

            public String getHouseArea() {
                return houseArea;
            }

            public void setHouseArea(String houseArea) {
                this.houseArea = houseArea;
            }

            public String getHouseStreet() {
                return houseStreet;
            }

            public void setHouseStreet(String houseStreet) {
                this.houseStreet = houseStreet;
            }

            public String getResidentialArea() {
                return residentialArea;
            }

            public void setResidentialArea(String residentialArea) {
                this.residentialArea = residentialArea;
            }

            public String getMortgageStatus() {
                return mortgageStatus;
            }

            public void setMortgageStatus(String mortgageStatus) {
                this.mortgageStatus = mortgageStatus;
            }

            public String getStartDate() {
                return startDate;
            }

            public void setStartDate(String startDate) {
                this.startDate = startDate;
            }

            public String getEndDate() {
                return endDate;
            }

            public void setEndDate(String endDate) {
                this.endDate = endDate;
            }

            public String getRealName() {
                return realName;
            }

            public void setRealName(String realName) {
                this.realName = realName;
            }

            public String getCardNumber() {
                return cardNumber;
            }

            public void setCardNumber(String cardNumber) {
                this.cardNumber = cardNumber;
            }

            public String getHouseRatio() {
                return houseRatio;
            }

            public void setHouseRatio(String houseRatio) {
                this.houseRatio = houseRatio;
            }

            public String getHouseCard() {
                return houseCard;
            }

            public void setHouseCard(String houseCard) {
                this.houseCard = houseCard;
            }

            public String getTotalFloor() {
                return totalFloor;
            }

            public void setTotalFloor(String totalFloor) {
                this.totalFloor = totalFloor;
            }

            public String getBuildingNumber() {
                return buildingNumber;
            }

            public void setBuildingNumber(String buildingNumber) {
                this.buildingNumber = buildingNumber;
            }

            public String getRoomNumber() {
                return roomNumber;
            }

            public void setRoomNumber(String roomNumber) {
                this.roomNumber = roomNumber;
            }

            public String getLandNo() {
                return landNo;
            }

            public void setLandNo(String landNo) {
                this.landNo = landNo;
            }

            public String getLandSize() {
                return landSize;
            }

            public void setLandSize(String landSize) {
                this.landSize = landSize;
            }

            public String getInnerBuildingArea() {
                return innerBuildingArea;
            }

            public void setInnerBuildingArea(String innerBuildingArea) {
                this.innerBuildingArea = innerBuildingArea;
            }

            public String getHouseType() {
                return houseType;
            }

            public void setHouseType(String houseType) {
                this.houseType = houseType;
            }

            public String getHouseStatus() {
                return houseStatus;
            }

            public void setHouseStatus(String houseStatus) {
                this.houseStatus = houseStatus;
            }

            public String getIsOnlyHave() {
                return isOnlyHave;
            }

            public void setIsOnlyHave(String isOnlyHave) {
                this.isOnlyHave = isOnlyHave;
            }

            public String getHouseSize() {
                return houseSize;
            }

            public void setHouseSize(String houseSize) {
                this.houseSize = houseSize;
            }

            public String getHosueAge() {
                return hosueAge;
            }

            public void setHosueAge(String hosueAge) {
                this.hosueAge = hosueAge;
            }

            public String getFainalAssAmount() {
                return fainalAssAmount;
            }

            public void setFainalAssAmount(String fainalAssAmount) {
                this.fainalAssAmount = fainalAssAmount;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.id);
                dest.writeString(this.houseProvince);
                dest.writeString(this.houseCity);
                dest.writeString(this.houseArea);
                dest.writeString(this.houseStreet);
                dest.writeString(this.residentialArea);
                dest.writeString(this.mortgageStatus);
                dest.writeString(this.startDate);
                dest.writeString(this.endDate);
                dest.writeString(this.realName);
                dest.writeString(this.cardNumber);
                dest.writeString(this.houseRatio);
                dest.writeString(this.houseCard);
                dest.writeString(this.totalFloor);
                dest.writeString(this.buildingNumber);
                dest.writeString(this.roomNumber);
                dest.writeString(this.landNo);
                dest.writeString(this.landSize);
                dest.writeString(this.innerBuildingArea);
                dest.writeString(this.houseType);
                dest.writeString(this.houseStatus);
                dest.writeString(this.isOnlyHave);
                dest.writeString(this.houseSize);
                dest.writeString(this.hosueAge);
                dest.writeString(this.fainalAssAmount);
                dest.writeString(this.percentage);
                dest.writeString(this.rate);
                dest.writeString(this.houseTypeDesc);
                dest.writeString(this.houseStatusDesc);
                dest.writeString(this.houseStateDesc);
            }

            public HouseLoansBean() {
            }

            protected HouseLoansBean(Parcel in) {
                this.id = in.readString();
                this.houseProvince = in.readString();
                this.houseCity = in.readString();
                this.houseArea = in.readString();
                this.houseStreet = in.readString();
                this.residentialArea = in.readString();
                this.mortgageStatus = in.readString();
                this.startDate = in.readString();
                this.endDate = in.readString();
                this.realName = in.readString();
                this.cardNumber = in.readString();
                this.houseRatio = in.readString();
                this.houseCard = in.readString();
                this.totalFloor = in.readString();
                this.buildingNumber = in.readString();
                this.roomNumber = in.readString();
                this.landNo = in.readString();
                this.landSize = in.readString();
                this.innerBuildingArea = in.readString();
                this.houseType = in.readString();
                this.houseStatus = in.readString();
                this.isOnlyHave = in.readString();
                this.houseSize = in.readString();
                this.hosueAge = in.readString();
                this.fainalAssAmount = in.readString();
                this.percentage = in.readString();
                this.rate = in.readString();
                this.houseTypeDesc = in.readString();
                this.houseStatusDesc = in.readString();
                this.houseStateDesc = in.readString();
            }

            public static final Parcelable.Creator<HouseLoansBean> CREATOR = new Parcelable.Creator<HouseLoansBean>() {
                @Override
                public HouseLoansBean createFromParcel(Parcel source) {
                    return new HouseLoansBean(source);
                }

                @Override
                public HouseLoansBean[] newArray(int size) {
                    return new HouseLoansBean[size];
                }
            };
        }
    }
}
